package org.cresource.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页
    private Integer currentPage = 1;
    //页面条数
    private Integer pageSize = 10;
    //计算limit的第一个参数
    public Integer getStart(){
        return (this.currentPage-1)* this.pageSize;
    }
    private String keyword = null;
}
